Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPROVE] Livechat User Management Improvements #14736

Merged
merged 91 commits into from
Aug 21, 2019

Conversation

Hudell
Copy link
Contributor

@Hudell Hudell commented Jun 4, 2019

Closes #14649
Closes #14648
Closes #14740
Closes RocketChat/feature-requests#174

Related to -> https://github.com/RocketChat/Rocket.Chat.Enterprise/pull/55

Important changes and improvements implemented in this PR:

  • Uncoupled the Livechat user management screen, now we have two specific interfaces to manage Manager and Agent roles;
  • Extended the Livechat permissions. We added new permissions to check all Livechat actions, as well as allow/deny access to Livechat management interfaces through the HasPermission validation instead of HasRole;
  • Created LivechatRooms model. We moved the methods related to Livechat stuff from the Rooms model to LivechatRooms model. This is an important and required improvement because we need to be able to extend the LivechatRooms model and overwrite some methods, such as find, findOne, update and so on. This change will improve the maintainability of both Rooms and LivechatRooms as well, reducing the method coupling.
  • Extend filters on Livechat Current Chats. We're now supporting filters for the Livechat Custom Fields as well as Livechat Tags;

@Hudell Hudell changed the title [WIP] Livechat User Managem Improvements [WIP] Livechat User Management Improvements Jun 4, 2019
Copy link

@renatobecker-zz renatobecker-zz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's clear the input after adding Agents into Departments as we do on Managers and Agents, what do you think?

rodrigok
rodrigok previously approved these changes Aug 16, 2019
@sampaiodiego sampaiodiego merged commit 63d7892 into develop Aug 21, 2019
@sampaiodiego sampaiodiego deleted the new-livechat-features branch August 21, 2019 03:40
@sampaiodiego sampaiodiego mentioned this pull request Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants